# Maintainer: Lubomir 'Kuci' Kucera <kuci24-at-gmail-dot-com>

pkgname=bully
pkgver=1.0.22
pkgrel=2
pkgdesc="Retrieve WPA/WPA2 passphrase from a WPS enabled access point."
arch=('i686' 'x86_64')
url="https://github.com/bdpurcell/bully"
license=('GPL3')
depends=('libpcap' 'openssl')
makedepends=('make')
source=('http://www6.frugalware.org/mirrors/linux/kali/kali/pool/main/b/bully/bully_1.0-22.orig.tar.gz')
sha512sums=('2319a55d5ec79322463e6b2ad27af72a8177e82a079021eb17bf0cb0ebda50b0953cf6b17563f026ac93c06e05132e3821d887951da1f077b5d26a6adbecb667')

build() {
    cd "$srcdir/bully/src"

    make
}

package() {
    cd "$srcdir/bully/src"
    
    install -Dm755 "bully" "$pkgdir/usr/bin/bully"
}